//
//  ViewController.m
//  QuanZiSample
//
//  Created by 张洪林 on 15/11/17.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    

    
    //尉超
    UIButton *buttonLin = [UIButton buttonWithType:(UIButtonTypeSystem)];
    
    buttonLin.frame = CGRectMake(200, 100, 100, 100);
    
    [buttonLin setBackgroundColor:[UIColor redColor]];
    
    [self.view addSubview:buttonLin];

    self.view.backgroundColor = [UIColor whiteColor];
    UIView *view = [[UIView alloc]initWithFrame:CGRectMake(100, 100, 100, 100)];
    view.backgroundColor = [UIColor redColor];
    [self.view addSubview:view];

    
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
